<?php
$this->title = 'My Yii Application';
$this->registerJsFile('./alljs.js', ['position' => \yii\web\View::POS_HEAD]);
$this->registerJsFile('https://api.map.baidu.com/api?v=3.0&amp;ak=673c9508ebdda630e96e92bb93715360', ['position' => \yii\web\View::POS_HEAD]);
$this->registerCssFile('./allcss.css');

?>

<div class="col-lg-12" style="padding:0;margin:0">

    <div class="col-lg-6 form-group">
        <form name="citysearch" class="form-inline" action="javascript:void(0)"
              onsubmit="gothere(this.cityskey.value); return false;">
            <label>地图搜索：</label>
            <input type="text" name="cityskey" size="21"/>
            <input type="submit" value="搜索"/>
            <strong class="help-block" style="display: inline">支持国内外地址搜索</strong>
        </form>

    </div>
    <hr class="visible-xs-block visible-xm-block visible-md-block"  style="margin-bottom: 4px;margin-top:-10px;"/>
    <div class="col-lg-6 form-group">
        <form name="xyform" class="form-inline" action="javascript:void(0)" onsubmit="return gotoxy()">
            <label>经纬定位：</label>
            <input type="text" size="8" name="x" placeholder="经度"/>
            <input type="text" size="8" name="y" placeholder="纬度"/> <input type="submit" value="前往"/>
        </form>
    </div>
    <hr class="visible-xs-block visible-xm-block visible-md-block" style="margin-bottom: 4px;margin-top:-10px;"/>

</div>

<div class="col-lg-12 toolbars">当前地图数据来自 谷歌地图       <a href="javascript:void(0)" onclick="return getmapurl()" title="生成当前位置的访问链接，轻松与好友分享！">收藏分享当前地图</a></div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="100%" height="100%" valign="top">
            <div id="map"></div>
            <br/><br/>
            <center><strong>Earth Online-地图操作指南</strong></center>
            <p>1.移动地图：在地图上按住鼠标左键拖动或点击地图左上方的方向图标移动。<br/>
                2.放大/缩小地图：可以通过滚动鼠标滚轮来放大或缩小地图，也可以通过地图左上方的加减号或滑动杆来缩放，另外双击地图上的某一点可以直接放大。<br/>
                3.地图画面全屏显示：点击地图左上方的全屏显示按钮（加减号下面）即可开启或关闭全屏地图显示模式。<br/>
                4.分享地图：可以点击屏幕右上方的“与朋友分享当前地图”，系统会自动生成当前位置的网址链接，任何人通过这个链接都可以访问这个位置。<br/>
                5.相关链接：<a href="https://map.earthol.com/" target="_blank">地图大全</a> <a href="https://so.earthol.com/"
                                                                                      target="_blank">地图搜索</a> <a
                        href="https://www.earthol.org/" target="_blank">街景地图</a> <a href="https://www.ditu6.com/"
                                                                                    target="_blank">导航地图</a> <a
                        href="https://www.369.me/" target="_blank">实时路况查询</a> <a href="https://www.ditu6.com/bus/"
                                                                                 target="_blank">公交查询</a> <a
                        href="https://so.xun.me/" target="_blank">搜寻网</a> <a href="https://www.cemsg.com/"
                                                                             target="_blank">中文e讯</a> <a
                        href="https://www.265.me/" target="_blank">Tech笔记</a> <a href="https://www.ip5.me/"
                                                                                 target="_blank">IP查询</a> <a
                        href="https://www.vsearch.me/" target="_blank">Video Search</a> <a
                        href="https://www.ditu6.com/walk/" target="_blank">徒步路线地图</a> <a
                        href="https://www.ditu6.com/taxi/" target="_blank">打车价格查询</a></p>
            <strong>
                &nbsp;&nbsp;新近地标： <a href="https://www.earthol.net/college/" target="_blank">大学地图专题</a> <a
                        href="https://www.earthol.com/view-8455.html" target="_blank">黑龙江通河县</a> <a
                        href="https://www.earthol.com/view-8454.html" target="_blank">山西沁县</a> <a
                        href="https://www.earthol.com/view-6279.html" target="_blank">浙江嘉善县</a> <a
                        href="https://www.earthol.com/view-8453.html" target="_blank">法国加来市</a> <a
                        href="https://www.earthol.com/view-8452.html" target="_blank">法国科隆布市</a> <a
                        href="https://www.earthol.com/view-8451.html" target="_blank">意大利拉斯佩齐亚市</a> <a
                        href="https://www.earthol.com/view-8450.html" target="_blank">意大利卡坦扎罗市</a> <a
                        href="https://www.earthol.com/view-8449.html" target="_blank">河北平乡县</a> <a
                        href="https://www.earthol.com/view-8448.html" target="_blank">安徽南陵县</a> <a
                        href="https://www.earthol.com/view-8447.html" target="_blank">安徽肥西县</a> <a
                        href="https://www.earthol.com/view-8446.html" target="_blank">浙江泰顺县</a> <a
                        href="https://www.earthol.com/view-8445.html" target="_blank">日本东根市</a> <a
                        href="https://www.earthol.com/view-8444.html" target="_blank">日本天童市</a> <a
                        href="https://www.earthol.com/view-8443.html" target="_blank">日本长井市</a> <a
                        href="https://www.earthol.com/view-8442.html" target="_blank">路易斯·穆尼奥斯·马林国际机场</a> <a
                        href="https://www.earthol.com/view-8441.html" target="_blank">罗塔国际机场</a> <a
                        href="https://www.earthol.com/view-8440.html" target="_blank">黑水城遗址</a> <a
                        href="https://www.earthol.com/view-8439.html" target="_blank">海南保亭县</a> <a
                        href="https://www.earthol.com/view-8438.html" target="_blank">印度巴罗达市</a> <a
                        href="https://www.earthol.com/view-8437.html" target="_blank">以色列霍隆市</a> <a
                        href="https://www.earthol.com/view-8436.html" target="_blank">德国卡尔斯鲁厄理工学院</a> <a
                        href="https://www.earthol.com/view-8435.html" target="_blank">瑞士伯尔尼大学</a>
            </strong>
        </td>
    </tr>
</table>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-62195-4"></script>
<script>
    window.dataLayer = window.dataLayer || [];

    function gtag() {
        dataLayer.push(arguments);
    }

    gtag('js', new Date());
    load();
    gtag('config', 'UA-62195-4');
</script>
